vehicle routing problem
An Exact Branch-Price-and-Cut Algorithm for the Vehicle Routing Problem with Floating Targets
Paradowski, Michał, Bhat, Anoop, Ren, Zhongqiang, Choset, Howie
Abstract--The Vehicle Routing Problem with Floating Targets (VRPFT) is a generalization of the capacitated vehicle routing problem where targets may actively move to locations "convenient" for the vehicles. In particular, each target may leave its home location at a bounded speed. A solution to the VRPFT is a sequence of targets for each vehicle to visit and a meeting point in space-time for each target. In this paper, we solve the VRPFT exactly with a branch-price-and-cut algorithm. Our key contribution is a dominance criterion for the pricing labeling algorithm that utilizes closed-form lower and upper bounds on a vehicle's trajectory cost given a fixed sequence of targets. We prove that the criterion preserves optimality, and the algorithm has smaller computation time than the exact dynamic program of prior work on identical hardware. We also provide a relaxed criterion that prunes more aggressively; the resulting heuristic is faster than our exact algorithm and matched every certified optimum on the benchmark.
LINC: Decoupling Local Consequence Scoring from Hidden Matching in Constructive Neural Routing
Constructive neural routing solvers usually score the next action by matching a decoder context against candidate embeddings computed once per instance from static node features such as coordinates, demands, and time windows; deterministic one-step consequences such as travel, waiting, slack, and capacity changes are not provided as inputs and must be inferred implicitly by the model. We propose LINC, a decoder-side candidate decision architecture that decouples computing these consequences from learning how much they matter. The environment computes the consequences explicitly at each step; candidate-level consequences are scored by a state-conditioned shared linear comparator, while feasible-set summaries modulate the decoder context. This keeps the cached embeddings and standard global matching while giving the scoring function direct access to deterministic transition quantities. The Capacitated Vehicle Routing Problem with Time Windows (CVRPTW) serves as the main constrained-routing testbed, and the same interface extends to the Capacitated Vehicle Routing Problem (CVRP) and Traveling Salesman Problem (TSP). Across external benchmarks and no-retraining scale-transfer settings, LINC consistently improves strong neural baselines, with the advantage becoming more pronounced as test size moves further beyond the training scale, especially on constrained routing problems.
SVRPBench: ARealistic Benchmark for Stochastic Vehicle Routing Problem
Robust routing under uncertainty is central to real-world logistics, yet most benchmarks assume static, idealized settings. We present SVRPBench, the first open benchmark to capture high-fidelity stochastic dynamics in vehicle routing at urban scale. Spanning more than 500 instances with up to 1000 customers, it simulates realistic delivery conditions: time-dependent congestion, log-normal delays, probabilistic accidents, and empirically grounded time windows for residential and commercial clients. Our pipeline generates diverse, constraint-rich scenarios, including multi-depot and multi-vehicle setups. Benchmarking reveals that state-of-the-art RL solvers like POMO and AM degrade by over 20% under distributional shift, while classical and metaheuristic methods remain robust. To enable reproducible research, we release the dataset (Hugging Face) and evaluation suite (GitHub). SVRPBenchchallenges the community to design solvers that generalize beyond synthetic assumptions and adapt to real-world uncertainty.
UniteFormer: Unifying Node and Edge Modalities in Transformers for Vehicle Routing Problems
Neural solvers for the Vehicle Routing Problem (VRP) have typically relied on either node or edge inputs, limiting their flexibility and generalization in real-world scenarios. We propose UniteFormer, a unified neural solver that supports node-only, edge-only, and hybrid input types through a single model trained via joint edge-node modalities. UniteFormer introduces: (1) a mixed encoder that integrates graph convolutional networks and attention mechanisms to collaboratively process node and edge features, capturing cross-modal interactions between them; and (2) a parallel decoder enhanced with query mapping and a feed-forward layer for improved representation. The model is trained with REINFORCE by randomly sampling input types across batches. Experiments on the Traveling Salesman Problem (TSP) and Capacitated Vehicle Routing Problem (CVRP) demonstrate that UniteFormer achieves state-of-the-art performance and generalizes effectively to TSPLib and CVRPLib instances. These results underscore UniteFormer's ability to handle diverse input modalities and its strong potential to improve performance across various VRP tasks.
Learning to Insert for Constructive Neural Vehicle Routing Solver
Neural Combinatorial Optimisation (NCO) is a promising learning-based approach for solving Vehicle Routing Problems (VRPs) without extensive manual design. While existing constructive NCO methods typically follow an appending-based paradigm that sequentially adds unvisited nodes to partial solutions, this rigid approach often leads to suboptimal results. To overcome this limitation, we explore the idea of the insertion-based paradigm and propose Learning to Construct with Insertion-based Paradigm (L2C-Insert), a novel learning-based method for constructive NCO. Unlike traditional approaches, L2C-Insert builds solutions by strategically inserting unvisited nodes at any valid position in the current partial solution, which can significantly enhance the flexibility and solution quality. The proposed framework introduces three key components: a novel model architecture for precise insertion position prediction, an efficient training scheme for model optimization, and an advanced inference technique that fully exploits the insertion paradigm's flexibility. Extensive experiments on both synthetic and real-world instances of the Travelling Salesman Problem (TSP) and Capacitated Vehicle Routing Problem (CVRP) demonstrate that L2C-Insert consistently achieves superior performance across various problem sizes.
Improving Generalization of Neural Combinatorial Optimization for Vehicle Routing Problems via Test-Time Projection Learning
Neural Combinatorial Optimization (NCO) has emerged as a promising learning-based paradigm for addressing Vehicle Routing Problems (VRPs) by minimizing the need for extensive manual engineering. While existing NCO methods, trained on small-scale instances (e.g., 100 nodes), have demonstrated considerable success on problems of similar scale, their performance significantly degrades when applied to large-scale scenarios. This degradation arises from the distributional shift between training and testing data, rendering policies learned on small instances ineffective for larger problems. To overcome this limitation, we introduce a novel learning framework driven by Large Language Models (LLMs). This framework learns a projection between the training and testing distributions, which is then deployed to enhance the scalability of the NCO model. Notably, unlike prevailing techniques that necessitate joint training with the neural network, our approach operates exclusively during the inference phase, obviating the need for model retraining. Extensive experiments demonstrate that our method enables a backbone model (trained on 100-node instances) to achieve superior performance on large-scale Traveling Salesman Problem (TSP) and Capacitated Vehicle Routing Problem (CVRP) of up to 100K nodes from diverse distributions.
Demand Acceptance using Reinforcement Learning for Dynamic Vehicle Routing Problem with Emission Quota
Najar, Farid, Barth, Dominique, Strozecki, Yann
Abstractin an online fashion and are drawn from a known distriThis paper introduces and formalizes the Dynamic and bution, hence the problem is a Dynamic and Stochastic Stochastic Vehicle Routing Problem with Emission Quota VRP with Random Requests (DS-VRP-RR) (Zhang and (DS-QVRP-RR), a novel routing problems that integrates dy-Woensel 2023) 1 The main specificities of our model are the namic demand acceptance and routing with a global emis-hard quota on the emission and the necessity to accept and sion constraint. A key contribution is a two-layer optimiza-reject requests in an online fashion before the tour has even tion framework designed to facilitate anticipatory rejectionsbegun. We call our problem Dynamic and Stochastic VRP of demands and generation of new routes. To solve this, wewith emission Quota and Random Requests (DS-QVRPdevelop hybrid algorithms that combine reinforcement learning with combinatorial optimization techniques. We present RR) and for simplicity, we denote it by DQVRP in the rest a comprehensive computational study that compares our apof this work. Our findings demonstrate The problem DQVRP we introduce can be related to the the relevance of our approach for different types of inputs, Team Orienteering Problem (TOP) (Chao, Golden, and even when the horizon of the problem is uncertain. In TOP, the objective is to find a tour which maximizes the total rewards collected, while each vehicle has to respect a constraint on the total cost of its route (typically a maximum time). In our 1 Introductionproblem, the constraint is global and is imposed on the total Due to climate change, increasingly strict regulations are be-emissions of the vehicles, which are heterogeneous. Consequently, 1.1 Related Works transport companies must comply with emission constraint within specific areas, sometimes expressed as hard quotas. The static version of the demand-selection problem unTo meet these constraints, some deliveries need to be omit-der an emission constraint was studied in (Najar, Barth, ted.
SEAFormer: A Spatial Proximity and Edge-Aware Transformer for Real-World Vehicle Routing Problems
Basharzad, Saeed Nasehi, Choudhury, Farhana, Tanin, Egemen
Real-world Vehicle Routing Problems (RWVRPs) require solving complex, sequence-dependent challenges at scale with constraints such as delivery time window, replenishment or recharging stops, asymmetric travel cost, etc. While recent neural methods achieve strong results on large-scale classical VRP benchmarks, they struggle to address RWVRPs because their strategies overlook sequence dependencies and underutilize edge-level information, which are precisely the characteristics that define the complexity of RWVRPs. We present SEAFormer, a novel transformer that incorporates both node-level and edge-level information in decision-making through two key innovations. First, our Clustered Proximity Attention (CPA) exploits locality-aware clustering to reduce the complexity of attention from $O(n^2)$ to $O(n)$ while preserving global perspective, allowing SEAFormer to efficiently train on large instances. Second, our lightweight edge-aware module captures pairwise features through residual fusion, enabling effective incorporation of edge-based information and faster convergence. Extensive experiments across four RWVRP variants with various scales demonstrate that SEAFormer achieves superior results over state-of-the-art methods. Notably, SEAFormer is the first neural method to solve 1,000+ node RWVRPs effectively, while also achieving superior performance on classic VRPs, making it a versatile solution for both research benchmarks and real-world applications.
Ensemble-based Deep Reinforcement Learning for Vehicle Routing Problems under Distribution Shift
While performing favourably on the independent and identically distributed (i.i.d.) instances, most of the existing neural methods for vehicle routing problems (VRPs) struggle to generalize in the presence of a distribution shift. To tackle this issue, we propose an ensemble-based deep reinforcement learning method for VRPs, which learns a group of diverse sub-policies to cope with various instance distributions. In particular, to prevent convergence of the parameters to the same one, we enforce diversity across sub-policies by leveraging Bootstrap with random initialization. Moreover, we also explicitly pursue inequality between sub-policies by exploiting regularization terms during training to further enhance diversity. Experimental results show that our method is able to outperform the state-of-the-art neural baselines on randomly generated instances of various distributions, and also generalizes favourably on the benchmark instances from TSPLib and CVRPLib, which confirmed the effectiveness of the whole method and the respective designs.